package com.atguigu.stgy.app.service.impl;

import com.atguigu.stgy.app.service.PaymentTypeService;
import com.atguigu.stgy.model.entity.PaymentType;
import org.springframework.stereotype.Service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.stgy.app.mapper.PaymentTypeMapper;

import java.util.List;
//import com.atguigu.stgy.model.entity.PaymentType;

@Service
public class PaymentTypeServiceImpl extends ServiceImpl<PaymentTypeMapper, PaymentType> implements PaymentTypeService {

    @Override
    public List<PaymentType> listByRoomId(Long roomId) {
        return baseMapper.selectListByRoomId(roomId);
    }
}
